import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;

public class Gouzao {
    public static void main(String[] args){
        ArrayList<String> list=new ArrayList<>();
        Collections.addAll(list,"张无忌，15","周至柔，21","张强，23","张三丰，100","张翠山，32","张良，56");
         //构造方法
        List<Student> list1 = list.stream().map(Student::new).collect(Collectors.toList());
        System.out.println(list1);

    }
}
